cargo.git
10 years agocargo 0.8.0-2
Luca Bruno [Tue, 5 Apr 2016 20:24:34 +0000 (22:24 +0200)]
cargo 0.8.0-2

10 years agocontrol: prefer libcurl4-gnutls-dev for building (Closes: #819831)
Luca Bruno [Tue, 5 Apr 2016 20:20:26 +0000 (22:20 +0200)]
control: prefer libcurl4-gnutls-dev for building (Closes: #819831)

libgit2 recently switched to libcurl4-gnutls-dev, while cargo used to build
with libcurl4-openssl-dev. We try align with libgit2 here.

10 years agocargo 0.8.0-1
Luca Bruno [Sun, 6 Mar 2016 08:20:01 +0000 (09:20 +0100)]
cargo 0.8.0-1

10 years agochangelog: preparing new upstream release
Luca Bruno [Sat, 5 Mar 2016 21:48:59 +0000 (22:48 +0100)]
changelog: preparing new upstream release

10 years agocargo: remove unused lintian overrides
Luca Bruno [Sat, 5 Mar 2016 21:38:35 +0000 (22:38 +0100)]
cargo: remove unused lintian overrides

10 years agopatches: refresh for deps
Luca Bruno [Sat, 5 Mar 2016 21:32:13 +0000 (22:32 +0100)]
patches: refresh for deps

10 years agodeps: update for 0.8.0
Luca Bruno [Sat, 5 Mar 2016 21:24:35 +0000 (22:24 +0100)]
deps: update for 0.8.0

10 years agopatches: clean cargo deps
Luca Bruno [Sat, 5 Mar 2016 21:21:23 +0000 (22:21 +0100)]
patches: clean cargo deps

10 years agoMerge tag 'upstream/0.8.0' into debian/sid
Luca Bruno [Sat, 5 Mar 2016 19:55:51 +0000 (20:55 +0100)]
Merge tag 'upstream/0.8.0' into debian/sid

Upstream version 0.8.0

10 years agoImported Upstream version 0.8.0
Luca Bruno [Sat, 5 Mar 2016 19:55:44 +0000 (20:55 +0100)]
Imported Upstream version 0.8.0

10 years agocargo 0.7.0-2
Luca Bruno [Thu, 3 Mar 2016 21:21:02 +0000 (22:21 +0100)]
cargo 0.7.0-2

10 years agocontrol: update build-deps for build-profiles
Luca Bruno [Thu, 3 Mar 2016 21:12:42 +0000 (22:12 +0100)]
control: update build-deps for build-profiles

10 years agobuild: clean environment to allow multiple builds
Luca Bruno [Sun, 28 Feb 2016 10:41:14 +0000 (11:41 +0100)]
build: clean environment to allow multiple builds

10 years agobuild: preserve original Cargo.lock for clean
Luca Bruno [Sun, 28 Feb 2016 10:16:05 +0000 (11:16 +0100)]
build: preserve original Cargo.lock for clean

10 years agocargo-doc: do not build under nodoc profile
Luca Bruno [Sun, 28 Feb 2016 10:11:33 +0000 (11:11 +0100)]
cargo-doc: do not build under nodoc profile

10 years agocargo: add a new stage2 profile
Luca Bruno [Sat, 27 Feb 2016 22:30:03 +0000 (23:30 +0100)]
cargo: add a new stage2 profile

10 years agocargo-doc: update docbase paths after package split
Luca Bruno [Sun, 28 Feb 2016 09:55:41 +0000 (10:55 +0100)]
cargo-doc: update docbase paths after package split

10 years agopatches: do not reference remote jquery
Luca Bruno [Sun, 28 Feb 2016 09:49:59 +0000 (10:49 +0100)]
patches: do not reference remote jquery

10 years agocontrol: bump standards version
Luca Bruno [Sat, 27 Feb 2016 22:30:54 +0000 (23:30 +0100)]
control: bump standards version

10 years agoCosmetic fixes to make_orig_multi.sh
Luca Bruno [Sun, 14 Feb 2016 16:07:44 +0000 (17:07 +0100)]
Cosmetic fixes to make_orig_multi.sh

10 years agoUpdate to canonical Vcs-* URLs
Luca Bruno [Sun, 14 Feb 2016 16:02:02 +0000 (17:02 +0100)]
Update to canonical Vcs-* URLs

10 years agocargo 0.7.0-1
Luca Bruno [Sun, 14 Feb 2016 15:22:02 +0000 (16:22 +0100)]
cargo 0.7.0-1

10 years agorules: ask cargo to build verbosely
Luca Bruno [Sun, 14 Feb 2016 15:10:23 +0000 (16:10 +0100)]
rules: ask cargo to build verbosely

10 years agopatches: add clean-win-crates.patch
Luca Bruno [Sun, 14 Feb 2016 15:09:38 +0000 (16:09 +0100)]
patches: add clean-win-crates.patch

10 years agopatches: refresh debian/patches/libgit2-fixes.patch
Luca Bruno [Sun, 14 Feb 2016 15:09:08 +0000 (16:09 +0100)]
patches: refresh debian/patches/libgit2-fixes.patch

10 years agoImport cargo_0.7.0.orig-deps.tar.gz
Luca Bruno [Sun, 14 Feb 2016 15:06:53 +0000 (16:06 +0100)]
Import cargo_0.7.0.orig-deps.tar.gz

10 years agoUpdate make_orig_multi.sh
Luca Bruno [Sun, 14 Feb 2016 15:02:37 +0000 (16:02 +0100)]
Update make_orig_multi.sh

10 years agopatches: refresh clean-cargo-deps.patch
Luca Bruno [Sun, 14 Feb 2016 15:08:15 +0000 (16:08 +0100)]
patches: refresh clean-cargo-deps.patch

10 years agodebian: update deps-tarball filter
Luca Bruno [Sun, 14 Feb 2016 15:00:02 +0000 (16:00 +0100)]
debian: update deps-tarball filter

10 years agopack.py: use the same TAR format as cargo
Luca Bruno [Sun, 14 Feb 2016 14:58:37 +0000 (15:58 +0100)]
pack.py: use the same TAR format as cargo

10 years agoUpdate README.source to current packaging
Luca Bruno [Sun, 14 Feb 2016 14:57:16 +0000 (15:57 +0100)]
Update README.source to current packaging

10 years agoMerge tag 'upstream/0.7.0' into debian/sid
Luca Bruno [Sun, 14 Feb 2016 14:56:35 +0000 (15:56 +0100)]
Merge tag 'upstream/0.7.0' into debian/sid

Upstream version 0.7.0

10 years agoImported Upstream version 0.7.0
Luca Bruno [Tue, 9 Feb 2016 22:42:31 +0000 (23:42 +0100)]
Imported Upstream version 0.7.0

10 years agocosmetic changes
Sylvestre Ledru [Tue, 26 Jan 2016 12:01:31 +0000 (13:01 +0100)]
cosmetic changes

10 years agoAuto merge of #2287 - alexcrichton:openbsd, r=alexcrichton
bors [Sun, 17 Jan 2016 00:56:58 +0000 (00:56 +0000)]
Auto merge of #2287 - alexcrichton:openbsd, r=alexcrichton

cc @semarie

10 years agoRegister an OpenBSD snapshot
Alex Crichton [Sun, 17 Jan 2016 00:56:31 +0000 (16:56 -0800)]
Register an OpenBSD snapshot

10 years agoAuto merge of #2281 - rillian:doc-nocapture, r=alexcrichton
bors [Fri, 15 Jan 2016 21:36:03 +0000 (21:36 +0000)]
Auto merge of #2281 - rillian:doc-nocapture, r=alexcrichton

Although this is a feature of rustc's test harness and
not cargo's test driver, I can never remember how to
invoke it. Describing the switch in `cargo test --help`
makes it more discoverable.

10 years agoDocument --nocapture to reduce confusion running tests.
Ralph Giles [Fri, 15 Jan 2016 16:59:55 +0000 (08:59 -0800)]
Document --nocapture to reduce confusion running tests.

Although this is a feature of rustc's test harness and
not cargo's test driver, I can never remember how to
invoke it. Describing the switch in `cargo test --help`
makes it more discoverable.

10 years agoAuto merge of #2279 - alexcrichton:rerun-if-changed-rust-file, r=brson
bors [Fri, 15 Jan 2016 00:40:34 +0000 (00:40 +0000)]
Auto merge of #2279 - alexcrichton:rerun-if-changed-rust-file, r=brson

There was a failure mode of the handling of the rerun-if-changed directive where
it would rerun the build script twice before hitting a steady state of actually
processing the directives. The order of events that led to this were:

1. A project was built from a clean directory. Cargo recorded a fingerprint
   indicating this (for the build script), but the fingerprint indicated that
   the build script was a normal build script (no manually specified inputs)
   because Cargo had no prior knowledge.
2. A project was then rebuilt from the same directory. Cargo's new fingerprint
   for the build script now indicates that there is a custom list of
   dependencies, but the previous fingerprint indicates there wasn't, so the
   mismatch causes another rebuild.
3. All future rebuilds will agree that there are custom lists both before and
   after, so the directives are processed as one would expect.

This commit does a bit of refactoring in the fingerprint module to fix this
situation. The recorded fingerprint in step (1) is now recorded as a "custom
dependencies are specified" fingerprint if, after the build script is run,
custom dependencies were specified.

Closes #2267

10 years agoHandle rerun-if-changed directives in dependencies
Alex Crichton [Wed, 13 Jan 2016 01:37:57 +0000 (17:37 -0800)]
Handle rerun-if-changed directives in dependencies

There was a failure mode of the handling of the rerun-if-changed directive where
it would rerun the build script twice before hitting a steady state of actually
processing the directives. The order of events that led to this were:

1. A project was built from a clean directory. Cargo recorded a fingerprint
   indicating this (for the build script), but the fingerprint indicated that
   the build script was a normal build script (no manually specified inputs)
   because Cargo had no prior knowledge.
2. A project was then rebuilt from the same directory. Cargo's new fingerprint
   for the build script now indicates that there is a custom list of
   dependencies, but the previous fingerprint indicates there wasn't, so the
   mismatch causes another rebuild.
3. All future rebuilds will agree that there are custom lists both before and
   after, so the directives are processed as one would expect.

This commit does a bit of refactoring in the fingerprint module to fix this
situation. The recorded fingerprint in step (1) is now recorded as a "custom
dependencies are specified" fingerprint if, after the build script is run,
custom dependencies were specified.

Closes #2267

10 years agoAuto merge of #2276 - alexcrichton:fix-nightly, r=alexcrichton
bors [Tue, 12 Jan 2016 18:48:03 +0000 (18:48 +0000)]
Auto merge of #2276 - alexcrichton:fix-nightly, r=alexcrichton

Just some tweaks to compiler error messages

10 years agoAuto merge of #2228 - tbu-:pr_only_missing, r=alexcrichton
bors [Tue, 12 Jan 2016 17:50:34 +0000 (17:50 +0000)]
Auto merge of #2228 - tbu-:pr_only_missing, r=alexcrichton

10 years agoFix tests on nightly
Alex Crichton [Tue, 12 Jan 2016 17:47:31 +0000 (09:47 -0800)]
Fix tests on nightly

10 years agoAuto merge of #2269 - felixc:package-untracked-files, r=alexcrichton
bors [Tue, 12 Jan 2016 17:18:05 +0000 (17:18 +0000)]
Auto merge of #2269 - felixc:package-untracked-files, r=alexcrichton

The logic in `sources/path.rs` that finds files that are untracked by the version control system was incorrectly including files that *are* tracked, but had been modified without the modification being committed to Git.

This manifested itself as strange duplications of files (e.g. in `cargo package --list`), since they were listed once as tracked files, and once more as allegedly "untracked" ones. It also caused failures when trying to package the crate when files had been deleted, but the deletion was not yet committed to Git.

Fixes #2199

10 years agoFix listing of untracked files to not include tracked but modified ones
Felix Crux [Sun, 10 Jan 2016 19:47:02 +0000 (14:47 -0500)]
Fix listing of untracked files to not include tracked but modified ones

The logic in `sources/path.rs` that finds files that are untracked by the
version control system was incorrectly including files that *are* tracked,
but had been modified without the modification being committed to Git.

This manifested itself as strange duplications of files (e.g. in `cargo
package --list`), since they were listed once as tracked files, and once
more as allegedly "untracked" ones. It also caused failures when trying to
package the crate when files had been deleted, but the deletion was not
yet committed to Git.

Fixes #2199

10 years agoBump rand to 0.3.13
Felix Crux [Tue, 12 Jan 2016 00:00:05 +0000 (19:00 -0500)]
Bump rand to 0.3.13

10 years agoAuto merge of #2265 - dirk:dirk/include-publish-command-in-help, r=alexcrichton
bors [Mon, 11 Jan 2016 22:44:56 +0000 (22:44 +0000)]
Auto merge of #2265 - dirk:dirk/include-publish-command-in-help, r=alexcrichton

This is pretty commonly-used command, so I think it merits inclusion in the help text.

10 years agoAuto merge of #2257 - nrc:lib-template, r=alexcrichton
bors [Mon, 11 Jan 2016 18:15:34 +0000 (18:15 +0000)]
Auto merge of #2257 - nrc:lib-template, r=alexcrichton

10 years agoOnly treat missing crate lists as empty
Tobias Bucher [Fri, 18 Dec 2015 12:27:08 +0000 (12:27 +0000)]
Only treat missing crate lists as empty

The motivation is that errors other than "file not found" could lead to
the file being overwritten by an empty config, e.g. if the `open` call
is interrupted and returns `EINTR`, then this code would read an empty
config and write it back later on. This can probably happen for other
errors as well (`ENFILE`, ...).

10 years agoAdd publish command to list of commands in help text
Dirk Gadsden [Fri, 8 Jan 2016 22:40:02 +0000 (14:40 -0800)]
Add publish command to list of commands in help text

10 years agoMerge pull request #2260 from durka/patch-4
Brian Anderson [Wed, 6 Jan 2016 18:40:33 +0000 (10:40 -0800)]
Merge pull request #2260 from durka/patch-4

doc/manifest: add `cargo run --example`

10 years agoMerge pull request #2243 from felixc/zsh-completion-options
Brian Anderson [Wed, 6 Jan 2016 18:37:54 +0000 (10:37 -0800)]
Merge pull request #2243 from felixc/zsh-completion-options

Complete the definition of all options for zsh auto-completion

10 years agodoc/manifest: add `cargo run --example`
Alex Burka [Sun, 3 Jan 2016 02:04:17 +0000 (21:04 -0500)]
doc/manifest: add `cargo run --example`

Closes #2251. Should it be mentioned anywhere else as well?

10 years agoTweak the new project template to be more idiomatic.
Nick Cameron [Thu, 31 Dec 2015 03:12:56 +0000 (16:12 +1300)]
Tweak the new project template to be more idiomatic.

10 years agoIntroduce a cargo-doc package
Sylvestre Ledru [Tue, 29 Dec 2015 09:04:03 +0000 (10:04 +0100)]
Introduce a cargo-doc package

10 years agoAdd the missing VCS- fields
Sylvestre Ledru [Tue, 29 Dec 2015 08:03:10 +0000 (09:03 +0100)]
Add the missing VCS- fields

10 years agoFails to build when wget is installed. Force curl (Closes: #809298)
Sylvestre Ledru [Tue, 29 Dec 2015 07:44:49 +0000 (08:44 +0100)]
Fails to build when wget is installed. Force curl (Closes: #809298)

10 years agoComplete the definition of all options for zsh auto-completion
Felix Crux [Wed, 23 Dec 2015 03:57:03 +0000 (22:57 -0500)]
Complete the definition of all options for zsh auto-completion

All commands can now auto-complete all of the options they support.

10 years agoAuto merge of #2237 - sfackler:libc-0.2, r=alexcrichton
bors [Mon, 21 Dec 2015 16:09:43 +0000 (16:09 +0000)]
Auto merge of #2237 - sfackler:libc-0.2, r=alexcrichton

Also update everything else which removes all remaining libc 0.1
dependencies

10 years agoFix windows
Steven Fackler [Mon, 21 Dec 2015 04:47:04 +0000 (21:47 -0700)]
Fix windows

10 years agoWhitelist improper ctypes to support old rustc versions
Steven Fackler [Sun, 20 Dec 2015 23:15:18 +0000 (16:15 -0700)]
Whitelist improper ctypes to support old rustc versions

10 years agoBump libc to 0.2
Steven Fackler [Sun, 20 Dec 2015 22:58:55 +0000 (15:58 -0700)]
Bump libc to 0.2

Also update everything else which removes all remaining libc 0.1
dependencies

10 years agoAuto merge of #2225 - sgrif:sg-doctest-link-args, r=alexcrichton
bors [Sun, 20 Dec 2015 06:22:11 +0000 (06:22 +0000)]
Auto merge of #2225 - sgrif:sg-doctest-link-args, r=alexcrichton

It is entirely possible for a crate to have a build script that is simply
the equivalent to

```rustc
fn main() {
    println!("cargo:rustc-link-search=native=/some/path");
}
```

Without actually giving anything to link (for example, because the code
contains `#[link(name="foo")]`. In this case, we aren't actually passing
`-L` through when running doctests, even though they're passed when
compiling the main crate.

Fixes #1592

10 years agoRemove needless dylib check, add test
Sean Griffin [Sat, 19 Dec 2015 19:44:34 +0000 (12:44 -0700)]
Remove needless dylib check, add test

In this case the dylib check isn't actually doing anything useful, as
we're just appending search paths. Also adds a test for
8c65284b44337c6cfc003cedc8996e241ac678bd

10 years agoAuto merge of #2233 - gentoo90:bash-comp, r=alexcrichton
bors [Sat, 19 Dec 2015 18:29:47 +0000 (18:29 +0000)]
Auto merge of #2233 - gentoo90:bash-comp, r=alexcrichton

10 years agoAuto merge of #2235 - felixc:zsh-completion, r=alexcrichton
bors [Sat, 19 Dec 2015 18:09:48 +0000 (18:09 +0000)]
Auto merge of #2235 - felixc:zsh-completion, r=alexcrichton

Adds missing rustc, rustdoc, search, and uninstall subcommands.

Removes obsolete config-for-key and config-list subcommands that don't exist anymore.

10 years agoAdd missing subcommands to zsh auto-completion
Felix Crux [Sat, 19 Dec 2015 00:11:32 +0000 (19:11 -0500)]
Add missing subcommands to zsh auto-completion

Specifically, rustc, rustdoc, search, and uninstall.

10 years agoRemove obsolete commands from zsh auto-completion
Felix Crux [Sat, 19 Dec 2015 00:01:55 +0000 (19:01 -0500)]
Remove obsolete commands from zsh auto-completion

The config-for-key and config-list subcommands don't exist.

10 years agoBashcomp: complete --bin, --bench and --test
gentoo90 [Sat, 19 Dec 2015 11:12:39 +0000 (13:12 +0200)]
Bashcomp: complete --bin, --bench and --test

10 years agoAuto merge of #2232 - alexcrichton:unused, r=huonw
bors [Sat, 19 Dec 2015 03:34:56 +0000 (03:34 +0000)]
Auto merge of #2232 - alexcrichton:unused, r=huonw

This includes alexcrichton/toml-rs@39d77b6d which ensures that more unused
fields stick around when decoding TOML, allowing this to:

Closes #2230

10 years agoAuto merge of #2231 - felixc:docstrings-for-all, r=alexcrichton
bors [Sat, 19 Dec 2015 00:45:54 +0000 (00:45 +0000)]
Auto merge of #2231 - felixc:docstrings-for-all, r=alexcrichton

Almost all commands have info on what they are for, but a few were
missing it.

Also cleans up some copy/paste misdocumentation along the way.

10 years agoUpdate toml dependency to catch more unused keys
Alex Crichton [Sat, 19 Dec 2015 00:33:17 +0000 (16:33 -0800)]
Update toml dependency to catch more unused keys

This includes alexcrichton/toml-rs@39d77b6d which ensures that more unused
fields stick around when decoding TOML, allowing this to:

Closes #2230

10 years agoEnsure all subcommands have summary description documentation
Felix Crux [Fri, 18 Dec 2015 23:54:40 +0000 (18:54 -0500)]
Ensure all subcommands have summary description documentation

Almost all commands have info on what they are for, but a few were
missing it.

Also cleans up some copy/paste misdocumentation along the way.

10 years agoAuto merge of #2226 - tshepang:unused, r=alexcrichton
bors [Fri, 18 Dec 2015 20:40:35 +0000 (20:40 +0000)]
Auto merge of #2226 - tshepang:unused, r=alexcrichton

10 years agoAuto merge of #2224 - alexcrichton:rustc-dev, r=brson
bors [Fri, 18 Dec 2015 18:57:51 +0000 (18:57 +0000)]
Auto merge of #2224 - alexcrichton:rustc-dev, r=brson

This should allow compiling the specified target in the various profiles that
are available to it, e.g. bench or test in addition to the standard
dev.

Closes #2120

10 years agoAuto merge of #2223 - alexcrichton:better-dev-experience, r=brson
bors [Fri, 18 Dec 2015 18:43:14 +0000 (18:43 +0000)]
Auto merge of #2223 - alexcrichton:better-dev-experience, r=brson

Each test wants to be sure to reset HOME and remove CARGO_HOME from the
environment, but this was done inconsistently throughout the test suite. This
commit consolidates process creation so there's only one point for creating a
process ready to execute the Cargo that's being tested.

10 years agoAuto merge of #2227 - tbu-:pr_pycache, r=alexcrichton
bors [Fri, 18 Dec 2015 17:38:01 +0000 (17:38 +0000)]
Auto merge of #2227 - tbu-:pr_pycache, r=alexcrichton

Running `make` creates the `src/etc/__pycache__` directory which should
not be checked in.

10 years agoAdd __pycache__ to .gitignore
Tobias Bucher [Fri, 18 Dec 2015 12:28:08 +0000 (12:28 +0000)]
Add __pycache__ to .gitignore

Running `make` creates the `src/etc/__pycache__` directory which should
not be checked in.

10 years agoremove unused imports
Tshepang Lekhonkhobe [Fri, 18 Dec 2015 10:51:05 +0000 (12:51 +0200)]
remove unused imports

10 years agoAuto merge of #2219 - matklad:encodable-audit, r=alexcrichton
bors [Thu, 17 Dec 2015 23:08:10 +0000 (23:08 +0000)]
Auto merge of #2219 - matklad:encodable-audit, r=alexcrichton

@alexcrichton another preparation PR for #2196

I've removed obscure `metadata` field from `Target`. It is a breaking change (for read-manifest), but the field seemed cryptic, useless and untested :)

`Target` has a bunch of boolean fields:

```
    tested: bool,
    benched: bool,
    doc: bool,
    doctest: bool,
    harness: bool, // whether to use the test harness (--test)
    for_host: bool,
```

I guess they should not be included in serialized representation?

I will push commits for other `Encodable`s here.

10 years agoadd more fields to SerializedDependency
Aleksey Kladov [Thu, 17 Dec 2015 18:50:11 +0000 (21:50 +0300)]
add more fields to SerializedDependency

10 years agoadd more field to SerializedPackage
Aleksey Kladov [Wed, 16 Dec 2015 22:04:19 +0000 (01:04 +0300)]
add more field to SerializedPackage

10 years agoPass link search path to doctests even if build script gave no links
Sean Griffin [Thu, 17 Dec 2015 21:14:40 +0000 (14:14 -0700)]
Pass link search path to doctests even if build script gave no links

It is entirely possible for a crate to have a build script that is simply
the equivalent to

```rustc
fn main() {
    println!("cargo:rustc-link-search=native=/some/path");
}
```

Without actually giving anything to link (for example, because the code
contains `#[link(name="foo")]`. In this case, we aren't actually passing
`-L` through when running doctests, even though they're passed when
compiling the main crate.

Fixes #1592

10 years agoAllow specifying profiles to `cargo rustc`
Alex Crichton [Thu, 17 Dec 2015 18:10:59 +0000 (10:10 -0800)]
Allow specifying profiles to `cargo rustc`

This should allow compiling the specified target in the various profiles that
are available to it, e.g. bench or test in addition to the standard
dev.

Closes #2120

10 years agoConsolidate creating processes in tests
Alex Crichton [Thu, 17 Dec 2015 17:53:14 +0000 (09:53 -0800)]
Consolidate creating processes in tests

Each test wants to be sure to reset HOME and remove CARGO_HOME from the
environment, but this was done inconsistently throughout the test suite. This
commit consolidates process creation so there's only one point for creating a
process ready to execute the Cargo that's being tested.

10 years agoremove unused Encodable impl for Manifest
Aleksey Kladov [Wed, 16 Dec 2015 21:31:27 +0000 (00:31 +0300)]
remove unused Encodable impl for Manifest

10 years agoAuto merge of #2217 - alexcrichton:cleanup, r=alexcrichton
bors [Wed, 16 Dec 2015 21:14:02 +0000 (21:14 +0000)]
Auto merge of #2217 - alexcrichton:cleanup, r=alexcrichton

This From impl has been around for awhile.

10 years agoUse try! instead of CliError::from_boxed
Alex Crichton [Wed, 16 Dec 2015 21:11:26 +0000 (13:11 -0800)]
Use try! instead of CliError::from_boxed

This From impl has been around for awhile.

10 years agorefactor Target serialization
Aleksey Kladov [Wed, 16 Dec 2015 21:10:58 +0000 (00:10 +0300)]
refactor Target serialization

Remove obscure `metadata` field and implement proper Encodable for
TargetKind becase default one is not used.

10 years agoAuto merge of #2215 - JIghtuse:master, r=alexcrichton
bors [Wed, 16 Dec 2015 16:12:29 +0000 (16:12 +0000)]
Auto merge of #2215 - JIghtuse:master, r=alexcrichton

Fixes #2197

10 years agoetc: Fix error message about missing Cargo snapshot
Boris Egorov [Wed, 16 Dec 2015 07:49:33 +0000 (13:49 +0600)]
etc: Fix error message about missing Cargo snapshot

Fixes #2197

10 years agoAuto merge of #2208 - leodasvacas:clippy, r=alexcrichton
bors [Wed, 16 Dec 2015 04:51:56 +0000 (04:51 +0000)]
Auto merge of #2208 - leodasvacas:clippy, r=alexcrichton

Changes suggested by clippy. Mostly replacing `to_string()` with alternatives.

10 years agoclippy run
leonardo.yvens [Sat, 12 Dec 2015 18:19:11 +0000 (16:19 -0200)]
clippy run

10 years agoAuto merge of #2209 - felixc:master, r=alexcrichton
bors [Mon, 14 Dec 2015 18:37:03 +0000 (18:37 +0000)]
Auto merge of #2209 - felixc:master, r=alexcrichton

10 years agoUpdate zsh completion to include new 'install' command
Felix Crux [Mon, 14 Dec 2015 00:19:30 +0000 (19:19 -0500)]
Update zsh completion to include new 'install' command

10 years agoAuto merge of #2207 - fhartwig:unused-import, r=alexcrichton
bors [Sat, 12 Dec 2015 16:52:37 +0000 (16:52 +0000)]
Auto merge of #2207 - fhartwig:unused-import, r=alexcrichton

10 years agoRemove unused import that breaks the build on rust nightly
Florian Hartwig [Fri, 11 Dec 2015 19:21:24 +0000 (20:21 +0100)]
Remove unused import that breaks the build on rust nightly

10 years agoAuto merge of #2204 - alexcrichton:bump, r=brson
bors [Thu, 10 Dec 2015 15:29:43 +0000 (15:29 +0000)]
Auto merge of #2204 - alexcrichton:bump, r=brson

r? @brson

10 years agoBump to 0.8.0
Alex Crichton [Thu, 10 Dec 2015 15:26:17 +0000 (07:26 -0800)]
Bump to 0.8.0

10 years agoAuto merge of #2165 - psyomn:fix-2125-dup-bins, r=alexcrichton
bors [Tue, 8 Dec 2015 18:00:31 +0000 (18:00 +0000)]
Auto merge of #2165 - psyomn:fix-2125-dup-bins, r=alexcrichton

Alex, thank you for directing me to the right way.

I did some changes, and made it bail with the following message if duplicate binaries are detected:

````nocode
failed to parse manifest at `/home/psyomn/programming/rust/fork/badproj/Cargo.toml`

Caused by:
  rejected binary name e: only unique binary names are accepted
````

I also added a test to check for this! Let me know if anything needs fixing.

ref #2125